import urls from '@/services/urls.ts'
import type { ListResponse, SessionItem } from '@/services/types.ts'
import { getRequest } from '@/services/apis.ts'

/** 会话列表 */

// 获取会话列表(消息列表)
export const queryPageSessionList = (params?: any) => {
  return getRequest<ListResponse<SessionItem>>(urls.getSessionList, params)
}
